<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" href="css/common.css" type="text/css" />

<link href="js/uploadify/uploadify.css" rel="stylesheet" type="text/css">
<link href="css/adminstyle.css" rel="stylesheet" type="text/css">
<script language="javascript" type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script language="javascript" type="text/javascript" src="js/uploadify/swfobject.js"></script>
<script language="javascript" type="text/javascript" src="js/uploadify/jquery.uploadify.v2.1.4.min.js"></script>
<title>管理区域</title>

<script>

</script>

</head>

<body>
<div id="man_zone">
<div style="background-color:#FFFFFF ">

 <form  method="post" action="<? if  (empty($id)){ echo  'user_subAdd.html'; }else{ echo  'user_subUpdate.html'; }  ?>" >

 <input name="id" type="hidden" value="<?=$id?>">



  <table width="98%" border="0" align="center"  cellpadding="3" cellspacing="1" class="tableborder" style="margin-top:8px;">

    <tr>

      <td class="left_title_2adminssd">英文名</td>

      <td  bgcolor="#FFFFFF"><input name="english_name" type="text"  value="<?=getStr($extract_vars, 'english_name')?>"></td>

      <td  class="left_title_2adminssd">email</td>

      <td  bgcolor="#FFFFFF"><input name="email" type="text"  value="<?=getStr($extract_vars,'email')?>"></td>

      </tr>

       <tr>

          <td class="left_title_2adminssd">英语等级</td>

          <td  bgcolor="#FFFFFF"><select name="level" >

            <option value="">请选择</option>

          		<?=$userLevelOptions?>

          </select></td>

          <td  class="left_title_2adminssd">职业</td>

          <td  bgcolor="#FFFFFF"><select name="job" >

            <option value="">请选择</option>

          		<?=$userJobOptions?>

          </select></td>

      </tr>      

       <tr>

          <td class="left_title_2adminssd">电话</td>

          <td  bgcolor="#FFFFFF"><input name="phone" type="text"  value="<?=getStr($extract_vars,'phone')?>" /></td>

          <td  class="left_title_2adminssd">qq</td>

          <td  bgcolor="#FFFFFF"><input name="qq" type="text"  value="<?=getStr($extract_vars,'qq')?>" /></td>

      </tr>

        <tr>

          <td class="left_title_2adminssd">skype_id</td>

          <td  bgcolor="#FFFFFF"><input name="skype_id" type="text"  value="<?=getStr($extract_vars,'skype_id')?>" /></td>

          <td class="left_title_2adminssd" >性别</td>

          <td  bgcolor="#FFFFFF"><select name="sex" >

            <option value="0">请选择</option>

          <?=$sexOptions?>

          </select></td>

      </tr>

      

      <tr>

          <td class="left_title_2adminssd">省　市</td>

          <td  bgcolor="#FFFFFF">

         <?

         echo $select;

		 ?>

          </td>

        <td class="left_title_2adminssd" >密码</td>

          <td  bgcolor="#FFFFFF"><input type="password" name="password"  id="textfield" />不修改时为空</td>

      </tr>

      

          <tr>

          <td class="left_title_2adminssd">地址</td>

          <td  bgcolor="#FFFFFF"><input name="address" type="text"  value="<?=getStr($extract_vars,'address')?>" /></td>

          <td  class="left_title_2adminssd">邮编</td>

          <td  bgcolor="#FFFFFF"><input name="zipcode" type="text"  value="<?=getStr($extract_vars,'zipcode')?>" /></td>

      </tr>

      <? if($_GET['control']=='add'){?>

      <tr>

          <td class="left_title_2adminssd">注册时间</td>
          <td  bgcolor="#FFFFFF">
	          <?if(empty($id)){?>
	          <?=date('Y-m-d')?>
	          <?}else{?>
	          <?=date('Y-m-d H:i:s',$register_time)?>	
	          <?}?>
          </td>

          <td  class="left_title_2adminssd">注册来源</td>

          <td  bgcolor="#FFFFFF"><select name="lead_source" >

           <?=$leadSourceOptions?>

          </select></td>

      </tr>

     <? }else{ ?>

      <tr>

          <td class="left_title_2adminssd">注册时间</td>

            <td  bgcolor="#FFFFFF"><?=date('Y-m-d',getStr($extract_vars,'register_time'))?></td>

          <td class="left_title_2adminssd">注册来源</td>

          <td  bgcolor="#FFFFFF"><select name="lead_source" >

           <?=$leadSourceOptions?>

          </select></td>

      </tr>
      <? } ?>
         <tr>
          <td class="left_title_2adminssd">状态</td>
          <td  bgcolor="#FFFFFF">
	          <select name="status" >
	           <?=$statusOptions?>
	          </select>
          </td>
          <td  class="left_title_2adminssd">爱好</td>
          <td  bgcolor="#FFFFFF"><textarea name="fav_content"  rows="6" cols="30"><?=getStr($extract_vars,'fav_content')?></textarea></td>
      </tr>
         <tr>
          <td class="left_title_2adminssd">用户类型</td>
          <td  bgcolor="#FFFFFF" colspan="1">
         	 <?=$user_type_pair[$user_type]?>
          </td>
          <td class="left_title_2adminssd">用户类别</td>
          <td  bgcolor="#FFFFFF" colspan="1">
         	 <select name="user_kind" >
           		<?=$page_user_kind_options?>
          	 </select>
          </td>
      </tr>

      <tr>

        <td class="left_title_2adminssd">备注</td>

          <td  bgcolor="#FFFFFF"><textarea name="content" rows="6" cols="30"><?=getStr($extract_vars,'content')?></textarea></td>

          <td  class="left_title_2adminssd">跟踪人</td>

          <td  bgcolor="#FFFFFF">
	        <select name="employee_id">
	       	 <?=$trackPeopleSelect?>
	        </select>
         </td>

      </tr>

      <tr>

        <td class="left_title_2adminssd">基金用户跟踪人</td>
          <td  bgcolor="#FFFFFF" colspan="1">
	          <select name="fund_user_id" id="fund_user_id">
	          <?=$page_funduser_options?>
	          </select>
          </td>
       	 <td class="left_title_2adminssd">定向课程用户</td>
          <td  bgcolor="#FFFFFF" colspan="1">
	          <select name="target_course" id="target_course">
	          <?=$targetCourseOptions?>
	          </select>
          </td>
      </tr>
      



    <tr bgcolor="#FFFFFF">
      <td colspan="4" align="center" >
        &nbsp;&nbsp;&nbsp;
      </tr>
    <tr bgcolor="#FFFFFF">

      <td colspan="4" align="center" >

        <input class="PublicBot" name="" type="button" value="返回" onClick="location.href='user_lists.html'" />

        &nbsp;&nbsp;&nbsp;

        <input class="PublicBot" name="" type="submit" value="提交" /></td>

      </tr>

  </table>

  </form>

</div>
</div>


</body>

</html>

